/**
 * 
 */
package com.vivid.dynamics.oknow.dao;

import java.io.Serializable;

import org.springframework.stereotype.Repository;

import com.vivid.dynamics.oknow.model.UserTheme;

/**
 *	DAO method(s) involving the UserTheme.
 * @author jason
 * created at:: Aug 3, 2011 3:22:32 PM
 */
/*
 * Repository annotation states that this class will have 
 * the Exception Translation facility 
 */
@Repository
public interface IUserThemeDAO {
	/**
	 * return the UserTheme by the pId
	 * @param pId
	 * @return
	 * @author jason
	 * created at:: Aug 3, 2011  3:23:19 PM
	 */
	public UserTheme getUserThemeByKey(final int pId);
	
	/**
	 * create a new UserTheme Object to the datasource.
	 * @param pUserTheme
	 * @return
	 * @author jason
	 * created at:: Aug 3, 2011  3:25:04 PM
	 */
	public Serializable newUserTheme(final UserTheme pUserTheme);
	
	/**
	 * update the userTheme object to the datasource.
	 * @param pUserTheme
	 * @author jason
	 * created at:: Aug 3, 2011  3:25:50 PM
	 */
	public void updateUserTheme(final UserTheme pUserTheme);
	
	/**
	 * remove the userTheme object from the datasource.
	 * @param pUserTheme
	 * @author jason
	 * created at:: Aug 3, 2011  3:26:02 PM
	 */
	public void deleteUserTheme(final UserTheme pUserTheme);
}
